home *** CD-ROM | disk | FTP | other *** search
/ Maclife 39 / MACLIFE39.ISO.7z / MACLIFE39.ISO / FreeWare200 / バックアップ / synk-242.sit / synk-242 / Synk 2.4 (PPC).rsrc / TEXT_1000.txt < prev    next >
Text File  |  1998-03-06  |  13KB  |  226 lines

  1. Synk 2 
  2.  
  3. copyright ツゥ 1996 raja software
  4. WASTE text engine ツゥ 1993-1996 Marco Piovanelli
  5. programming by Randall Voth
  6. all rights reserved worldwide
  7.  
  8. $10 US shareware
  9.  
  10. send US check, Canadian equivalent check or equivalent major currencies:
  11.  
  12. Randall Voth
  13. 46058 Fiesta Avenue
  14. Chilliwack, BC
  15. Canada V2P 3S4
  16.  
  17. email: Randall Voth <rvoth@uniserve.com>
  18.  
  19. Quick Start
  20.  
  21. 1) Define the mode: Backup or Synchronize. A backup will remove any files or folders that do not exist in the "From..." folder out of the "To..." folder. Synchronize will copy files both ways between the two "Select..." folders.
  22.  
  23. 2) Choose two folders clicking on the "From..." and "To..." buttons, if a Backup, or the two "Select..." buttons if a Synchronize.
  24.  
  25. 3) Decide what happens to old files with the "Obsolete files" popup. If you are archiving old files you will need to choose an archive folder.
  26.  
  27. 4) Optionally define rules for files or folders that should be skipped. Click on the appropriate list box and then click the "New..." button. For more information about selection rules, read the accompanying documentation.
  28.  
  29. 5) Click "Go"
  30.  
  31. 6) There is a condensation of the manual later in this "about" text. You can click in this text, choose "Select All" and then drag the text to the Finder as a text clipping if you have at least System 7.5. Of course, the documentation is provided in its best form as a portable document file to be read by Adobe Acrobat.
  32.  
  33. What Makes Synk Special?
  34.  
  35. Other than being sublime and joyfully simple, Synk can resolve aliases.
  36.  
  37. This means you can fill a folder full of aliases and Synk will backup the actual files or folders. I keep a folder full of aliases to my source code and other important bits that I use as a regular backup. It is easy to program a backup strategy this way. Simply make an alias of anything you want backed up and throw it in a "Daily Backup" folder. You can add or delete items in this folder without modifying the Synk Document.
  38.  
  39. You can even have aliases in your destination folders so disparate files will be placed (for instance) into the correct place on your PowerBook's hard drive. The possibilities are endless.
  40.  
  41. Just one limitation: do not place aliases to parent folders within child folders. Such an endless loop trembles even the boots of Synk.
  42.  
  43. Common Errors in Log
  44.  
  45. -34, no room left on disk for copying
  46. -47, file was in use
  47. -45, file was locked
  48. -44, disk was write-protected
  49.  
  50. Subconscious Psycho-Babble
  51.  
  52. Be a hippocrite, vote Rhinoceros Party
  53.  
  54. Special Thanks
  55.  
  56. Jim Luther
  57. Marco Piovanelli
  58. Dan Crevier
  59. Timothy Paustian
  60.  
  61. What follows is the Synk manual minus graphics.
  62.  
  63. Introduction
  64.  
  65. Synk 2.4 provides fast and easily programmed backup and synchronization for the Macintosh.
  66.  
  67. Send suggestions, bug reports and registration confirmations to the author at <rvoth@uniserve.com>.
  68.  
  69. Registrations should be directed to:
  70.  
  71.     Randall Voth
  72.     46058 Fiesta Ave.
  73.     Chilliwack, BC
  74.     Canada, V2P 3S4
  75.  
  76. Shareware
  77.  
  78. Synk 2.4 is distributed as shareware. For $10 you get unlimited support and updates to the basic program. Please refer to the accompanying form for specific information on registering your copy and site licensing.
  79.  
  80. Synk 2.4 may be freely distributed in its original compressed archive form on online services. Please direct any requests to distribute on CD collections to <rvoth@uniserve.com>. Regularly updated archive mirrors do not require my notification.
  81.  
  82. The latest version can always be found in the INFO-MAC archives. Try <ftp://ftp.ucs.ubc.ca/pub/mac/info-mac>
  83.  
  84. Installation
  85.  
  86. Synk 2.4 is distributed as a compressed file suitable for internet archives. To decompress, simply drag the file you downloaded or copied to a free program called Stuffit Expander. This program is available through all online archives and services.
  87.  
  88. After decompression, find a folder containing this documentation and the application Synk 2.4. Find also a document called History & Notes explaining the version history and any bugs that have been fixed as well as special considerations for installation and running Synk 2.4 on different Macintosh computers.
  89.  
  90. Requirements
  91.  
  92. Synk 2.4 requires System 7 and approximately one megabyte of free memory. To use drag and drop, System 7.5 is required. Any destination volumes must have enough free space to contain all the data that will be backed up or synchronized.
  93.  
  94. Basic Functionality
  95.  
  96. Synk 2.4 can backup or synchronize a volume, a folder or a file.
  97.  
  98. For example, if all of your documents are stored within a folder called 窶廴y Documents窶 and wish to back them up to a removable cartridge, simply create a folder on the removable media called 窶廝ackup Documents窶.
  99.  
  100. 窶「    Nested aliases are not allowed.
  101.  
  102. A nested alias is one that points to an enclosing folder. If such a path is followed by Synk, the system will eventually crash because it is an endless loop.
  103.  
  104. 窶「    An alias filename must be exactly the same as the source file because files are located in sorted order.
  105.  
  106. Once an alias file is found and resolved, Synk copies the originating file to the destination directory. If the filenames are different, you will end up with conflicting names. This is a nuisance during a backup but it makes synchronizing folders impossible.
  107.  
  108. System 8 provides a COMMAND-OPTION-drag shortcut for creating aliases that no longer adds the word alias when copied to another directory.
  109.  
  110. Backup Tutorial
  111.  
  112. These tutorials will quickly demonstrate the basic features of Synk 2.4. They assume you know basic Macintosh techniques, including a familiarity with aliases. Refer to the documentation that came with your computer if you do not know how to create folders and aliases and copy files.
  113.  
  114. 1.    Create a folder on your hard drive called 窶廝ackup Source窶.
  115.  
  116. 2.    Place a copy of a document in this folder by pressing OPTION and dragging a file into the folder. One of the documentation files that came with Synk is a good choice.
  117.  
  118. 2.    Create another folder called 窶廝ackup Destination窶. This folder can theoretically be placed on any mounted volume, but for now create it alongside the 窶廝ackup Source窶 folder.
  119.  
  120. 3.    Run the Synk application by double clicking it in the Finder.
  121.  
  122. 4.    Define the source folder for your backup document by clicking the 窶廡rom...窶 button. 
  123.  
  124.     Navigate the folder select dialog box as you would any Macintosh file dialog. Choose the folder you wish to define and click the 窶彜elect窶 button at the bottom of the dialog.
  125.  
  126. 1.    Make a copy of your Synk folder. Do this by pressing OPTION and dragging the folder to your desktop.
  127.  
  128.     If you have not deleted any of the files, the folder should contain two applications, various text files and this documentation in both Adobe Acrobat format and plain text.
  129.  
  130.     For the purposes of this tutorial, you can copy any folder from your hard drive to the desktop as long as it contains files that you can modify. We are working on a copy so you can freely experiment without fear of losing any of your data.
  131.  
  132. 2.    Create another folder called 窶彜ynchronized Folder窶 alongside the folder you have just copied.
  133.  
  134. 3.    If Synk is still running from the last tutorial, create a new document by choosing 窶廸ew窶 from the 窶廡ile窶 menu. Otherwise, double click the application in the Finder. A new untitled document will appear.
  135.  
  136. 4.    Click the 窶彜ynchronize窶 radio button to change the document from backup to synchronize. Notice that the folder definition buttons change to 窶彜elect...窶
  137.  
  138. 5.    Define the two folders you have created for this tutorial by dragging them from the desktop to the Synk document window. Drop the first folder onto the text directly beside the top 窶彜elect...窶 button. Drop the second folder on the text beside the second 窶彜elect...窶 button.
  139.  
  140.     Drag and drop only works if you are running System 7.5 or later. For System 7, you can click the 窶彜elect...窶 button as you did in the previous tutorial.
  141.  
  142. 6.    Your folder definitions should now appear much like the following illustration. The only potential difference will be the volume and folder names.
  143.  
  144. Synk works by comparing file modification times, replacing the older file with the newer one.
  145.  
  146. 窶「    What if clock times are different on computers across the network?
  147.  
  148. Though not important to the second, the date and time of two computers containing files being synchronized must not be different enough to 窶徙verlap窶 so that a modified file on one computer will appear to be unmodified on the other.
  149.  
  150. 窶「    What if a file in both folders has been modified independently of one another?
  151.  
  152. There is a potential problem which arises when both files have been modified since the last synchronization was performed. This is called a 窶廚ollision窶.
  153.  
  154. Synk copies the oldest file of the two into a folder on your desktop called 窶廚ollisions窶. This way you can check to see if there is any data you still wish to keep from the older file. It is a handy way for PowerBook users to 窶徭ync and dash窶, without worrying about possessing the wrong file on the road, but also not having to sit and check each collided file as it is encountered.
  155.  
  156. 窶「    What if I delete a file or folder from only one of the synchronized folders?
  157.  
  158. At the moment, Synk has no accurate way of determining whether a file has been removed from one folder or added to the other. You must remove both files or folders or it will be copied back the next time the Synk document is run.
  159.  
  160. A future version of Synk will likely address this issue by storing a catalog of the folders after synchronization.
  161.  
  162. Selecting Files
  163.  
  164. Selecting Files Using Aliases
  165.  
  166. Aliases can be used to select specific files and folders. Uncheck the checkbox 窶彜kip Aliases窶 to instruct Synk to resolve any aliases found in the defined folders.
  167.  
  168. You can instruct Synk to ignore files that have certain common characteristics.
  169.  
  170. File creators are the operating system codes representing the application that created a file. For example, PageMaker 6 files have the creator code 窶連LD6窶™.
  171.  
  172. The Finder uses creator information to determine which application should open a document.
  173.  
  174. To define a file creator to skip, click on the 窶廡ile Creators窶 list box. The list box will become hilited by a dark rectangle.
  175.  
  176. Click the 窶廸ew...窶 button and locate the file you wish to skip.
  177.  
  178. Remember that all documents created by and related to the same application will be skipped as well. For instance, if you write a letter in a word processor and save it as both a text file and a normal document file, both files would be skipped by Synk.
  179.  
  180. It may take a bit of experimentation to understand which files are skipped using a creator. In general, files related to an application will be skipped by selecting the application in this file dialog.
  181.  
  182. To remove an item from the list box, select the item with a click and then click the 窶廛elete窶 button.
  183.  
  184. To be more specific about which files are skipped, use the file types option.
  185.  
  186. ...File Types
  187.  
  188. File types are the operating system codes representing a document窶冱 content. For instance, a raw text file that contains no formatting information has a type of 窶狼EXT窶™.
  189.  
  190. The Finder determines which file types an application can open by reading this information from a special resource from the application窶冱 file.
  191.  
  192. To define a file type to skip, click on the 窶廡ile Types窶 list box. The list box will become hilited by a dark rectangle.
  193.  
  194. Click the 窶廸ew...窶 button and locate the file type you wish to skip.
  195.  
  196. Skipping file types differs from creators in that all files of this type will be skipped, regardless of creator. For instance, many applications can create 窶狼EXT窶™ files. If you select one of them, all text files will be skipped by Synk.
  197.  
  198. ...File Endings
  199.  
  200. Naming conventions provide a powerful way of skipping files and folders that contain data you don窶冲 want compared or copied. For instance, ending unimportant folders with the text 窶œ.nb窶 could indicate 窶從o backup窶.
  201.  
  202. Click on the File Endings listbox and then click the 窶廸ew...窶 button. Enter in the text you wish to be compared with file and folder names and then press return or click OK.
  203.  
  204. Synk Preferences
  205.  
  206. Synk supports the do script alias filename command. This will automatically run the document specified by alias 窶彷ilename窶. This action will take place regardless of Synk窶冱 preference settings.
  207.  
  208. tell application "Synk 2.4 (PPC)"
  209.     copy (choose file) theFile
  210.     activate
  211.     do script theFile
  212. end tell
  213.  
  214. tell application "Synk 2.4 (PPC)"
  215.     activate
  216.     do script alias "backup"
  217.     quit
  218. end tell
  219.  
  220. You can specify the complete path of the document you wish to run by separating the folder hierarchy by colons, beginning with the name of the volume. In the case of "Duomonger:Documents:backup", Duomonger is a volume, Documents is a root level folder and backup is the document name... replace these with the specific path to your document.
  221.  
  222. For more information on AppleScript, buy the book "The Tao of AppleScript" by Derrick Schneider and published by Hayden Books. Applescript is cool.
  223.  
  224. Legal Stuff
  225.  
  226. Use of Synk is the sole responsibility of the user and is provided 窶廣S IS窶, without warranty of any kind. Raja software and the author of Synk expressly disclaim all warranties and/or conditions, express or implied. Raja software and the author of Synk are not responsible for any damages resulting from the use of this software.